public int whatsMissing(int[] arr){
  int n = 15;
  int sum = 0;
  for(int i:arr)
    sum += i; 
  return (0+15)*16/2 - sum;

}